package net.hn.hnms.biz.process.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.hn.hnms.biz.process.domain.JobProcess;
import net.hn.hnms.biz.process.domain.ShiftReporting;
import net.hn.hnms.biz.process.domain.vo.JobProcessVo;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import java.util.List;

public interface JobProcessService extends IService<JobProcess> {

    /**
     * 新增
     * @param jobProcess
     * @return
     */
    int insert(JobProcess jobProcess);

    /**
     * 删除
     * @param idList
     */
    void deleteBatch(List<String> idList);

    void update(JobProcess jobProcess);

    JobProcessVo selectDetailById(String id);

    /**
     * 分页查询
     * @param jobProcessVo
     * @param pageQuery
     * @return
     */
    ResponsePage<JobProcessVo> selectPageList(JobProcessVo jobProcessVo, PageQuery pageQuery);


    /**
     * 获取list
     * @param jobProcessVo
     * @return
     */
    List<JobProcessVo> getList(JobProcessVo jobProcessVo);
}
